<?php
 /*
  * Daten:
  * - Username: Der Benutzername
  * - Email: Die Emailadresse
  */
?>
<div class="profile_profileedit_form_div">
	<form action="index.php?section=profile" method="post">
	    <fieldset>
	        <legend><?php echo ST_FORM_EDIT_PROFILE ?></legend>
	        <div class="profile_profileedit_username_div">
		        <label for="username"><?php echo ST_FORM_USERNAME ?>:</label>
		        <input type="text" name="username" value="<?php echo htmlspecialchars($data['username']); ?>" id="username"/>
	        </div>
	        <div class="profile_profileedit_email_div">
		        <label for="email"><?php echo ST_FORM_EMAIL ?>:</label>
		        <input type="text" name="email" value="<?php echo htmlspecialchars($data['email']); ?>" id="email"/>
	        </div>
	        <div class="profile_profileedit_password_div">
		        <label for="password"><?php echo ST_FORM_PASSWORD ?>:</label>
		        <input type="password" name="password" value="" id="password"/>
	        </div>
	        <div class="profile_profileedit_submit_div">
	        	<input type="submit" name="formaction" value="<?php echo ST_FORM_SAVE_PROFILE ?>" />
	        </div>
	    </fieldset>
	</form>
</div>
<div class="profile_passwordedit_form_div">
	<form action="index.php?section=profile" method="post">
	    <fieldset>
	        <legend><?php echo ST_FORM_CHANGE_PASSWORD ?></legend>
	        <div class="profile_passwordedit_old_div">
		        <label for="old"><?php echo ST_FORM_OLD_PASSWORD ?>:</label>
		        <input type="password" name="old" id="old"/>
	        </div>
	        <div class="profile_passwordedit_password_div">
		        <label for="password"><?php echo ST_FORM_NEW_PASSWORD ?>:</label>
		        <input type="password" name="password[]" id="password"/>
	        </div>
	        <div class="profile_passwordedit_confirm_div">
		        <label for="confirm"><?php echo ST_FORM_PASSWORD_CONFIRM ?>:</label>
		        <input type="password" name="password[]" id="confirm"/>
	        </div>
	        <div class="profile_passwordedit_submit_div">
	        	<input type="submit" name="formaction" value="<?php echo ST_FORM_CHANGE_PASSWORD_ACTION ?>" />
	        </div>
	    </fieldset>
	</form>
</div>